package com.example.work1.server.service;

import com.example.work1.server.pojo.Student;

import java.util.List;
import java.util.Map;

public interface StudentService {
    void addStudent(Student student);
    Student getStudent(String id);
    List<Student> getAllStudents();
    void updateStudent(Student student);
    void deleteStudent(String id);
    int getStudentCount();

    List<Student> getTopScoringStudents();
    List<Student> getLowestScoringStudents();

    List<Map<String, Object>> getStudentsGroupedByEnrollmentDate();
}
